package com.wontube.client.extension.io;

import com.wontube.client.extension.io.protocol.HessianObjectProtocol;
import com.wontube.client.io.IObjectProtocol;
import com.wontube.client.io.IObjectProtocolProxy;

/**
 * @author yuechao
 *
 */
public final class HessianObjectProtocolProxy implements IObjectProtocolProxy {
	/*
	 * @see client.io.IObjectProtocolProxy#getDataFormat()
	 */
	@Override
	public String getDataFormat() {
		return "hessian";
	}

	/*
	 * @see client.io.IObjectProtocolProxy#createProtocol()
	 */
	@Override
	public IObjectProtocol createProtocol() {
		return new HessianObjectProtocol();
	}
}
